<template>
  <div class="slide">
    <songList v-for="(item,index) of createPL" :key="index" :musicList="item"></songList>
  </div>
</template>

<script>
import songList from '@/components/songList.vue';
import { mapState } from 'vuex'
export default {
    components:{
        songList
    },
    computed:{
      ...mapState({
        createPL:state=>state.createPL
      })
    },
    mounted(){
        this.$store.commit("getCreatePL")
    }
}
</script>

<style>

</style>